home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Serious Software / GrooveMaker demo / GrooveMaker Demo / Media / MenuSong.dxr / 00032.ls < prev    next >
Encoding:
Text File  |  1998-07-27  |  655 b   |  36 lines

  1. on mouseEnter
  2.   if the visible of window "Help" then
  3.     tell window "help"
  4.       go("pref")
  5.     end tell
  6.   end if
  7. end
  8.  
  9. on mouseLeave
  10.   if the visible of window "Help" then
  11.     tell window "help"
  12.       go("start")
  13.     end tell
  14.   end if
  15. end
  16.  
  17. on mouseDown
  18.   if not (the visible of window "Help") then
  19.     repeat while the mouseDown
  20.       set the memberNum of sprite 9 to the number of member "Hpref"
  21.       updateStage()
  22.     end repeat
  23.   end if
  24. end
  25.  
  26. on mouseUp
  27.   global gReturn
  28.   if not (the visible of window "Help") then
  29.     cursor(4)
  30.     set gReturn to "start menuSong"
  31.     sound stop 1
  32.     go("start", the moviePath & "pref")
  33.     cursor(-1)
  34.   end if
  35. end
  36.